/**
  ******************************************************************************
  * @file           : tskcfg.h
  * @brief          : Header for main.c file.
  *                   This file contains the common defines of the application.
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __TSKCFG_H
#define __TSKCFG_H

/* Includes ------------------------------------------------------------------*/
#include <stdio.h>

#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "queue.h"
#include "semphr.h"
#include "stream_buffer.h"
//#include "event_groups.h"

#define RUNDOG_TSK_PRIORITY                                            (tskIDLE_PRIORITY + 1)
#define RUNDOG_STACK_SIZE                                              256u
extern TaskHandle_t xRunDog_Thd;
extern StaticTask_t xRunDog_Tcb;
extern StackType_t  xRunDog_Stk[RUNDOG_STACK_SIZE];
void vRunDog_Task( void * pvParameters );

#define KEY_TSK_PRIORITY                                            (tskIDLE_PRIORITY + 2)
#define KEY_STACK_SIZE                                              256u
extern TaskHandle_t xKey_Thd;
extern StaticTask_t xKey_Tcb;
extern StackType_t  xKey_Stk[KEY_STACK_SIZE];
void vKey_Task( void * pvParameters );

#define CMOS_TSK_PRIORITY                                            (tskIDLE_PRIORITY + 3)
#define CMOS_STACK_SIZE                                              256u
extern TaskHandle_t xCmos_Thd;
extern StaticTask_t xCmos_Tcb;
extern StackType_t  xCmos_Stk[CMOS_STACK_SIZE];
void vCmos_Task( void * pvParameters );

//#define TTY_TSK_PRIORITY                                               (tskIDLE_PRIORITY + 2)
//#define TTY_STACK_SIZE                                                 256u
//extern TaskHandle_t xTerminal_Thd;
//extern StaticTask_t xTerminal_Tcb;
//extern StackType_t  xTerminal_Stk[ TTY_STACK_SIZE ];
//extern void vTerminal_Task( void * pvParameters );


extern void APP_CreateTask(void);
extern void APP_CreateRunTimeTask(void);

extern QueueHandle_t Cmos_Cmd_qhd;

#endif /* __TSKCFG_H */

/************************ END OF FILE *********/
